import formatActivityV5 from './format_activity_v5';

export const formatActivityV8 = activity => activity;

export const formatActivities = activities => activities.map((activity) => {
  if (activity.edition === 'v8') return formatActivityV8(activity);
  return formatActivityV5(activity);
});
